package com.senlingspace.system.service;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.github.pagehelper.PageInfo;
import com.senlingspace.common.core.domain.AjaxResult;
import com.senlingspace.common.core.domain.entity.SysUser;
import com.senlingspace.system.domain.SlkjShiftManagement;
import com.senlingspace.system.domain.dto.ShiftManagementDto;
import com.senlingspace.system.domain.vo.*;

/**
 * 员工交接班记录Service接口
 *
 * @author SenlingSpace
 * @date 2024-07-24
 */
public interface ISlkjShiftManagementService {
    /**
     * 查询员工交接班记录
     *
     * @param id 员工交接班记录主键
     * @return 员工交接班记录
     */
    public AjaxResult selectSlkjShiftManagementById(Long id);

    /**
     * 查询员工交接班记录列表
     *
     * @param slkjShiftManagement 员工交接班记录
     * @return 员工交接班记录集合
     */
    PageInfo<SlkjShiftManagement> selectSlkjShiftManagementList(SlkjShiftManagement slkjShiftManagement, Long deptId);

    /**
     * 新增员工交接班记录
     *
     * @param slkjShiftManagement 员工交接班记录
     * @return 结果
     */
    public int insertSlkjShiftManagement(SlkjShiftManagement slkjShiftManagement);

    /**
     * 修改员工交接班记录
     *
     * @param pays 员工交接班记录
     * @return 结果
     */
    public ReceiptVo updateSlkjShiftManagement(ShiftManagementDto pays, Long id);

    List<SlkjShopVo> selectByDeptId(Long userId);

    List<SlkjShopVo> selectByDeptId();

    List<SysUser> selectUserByDeptId(Long deptId);

    ArrayList<OrderVo> shopSort(Date startTime, Long shopId);

    ShareVo orderRatio(Date startTime, Long shopId);

    BusinessStatusVo period(Date startTime, Long shopId);

    RevenueVo revenue(Date startTime, Long shopId);

    AjaxResult selectSlkjShiftManagemen(Long userId);

    ReceiptVo receipt(Long id);

    AjaxResult handover(Long userId);

    List<SlkjShiftManagement> exportSlkjShiftManagementList(SlkjShiftManagement slkjShiftManagement, Long deptId);

    // /**
    //  * 批量删除员工交接班记录
    //  *
    //  * @param ids 需要删除的员工交接班记录主键集合
    //  * @return 结果
    //  */
    // public int deleteSlkjShiftManagementByIds(Long[] ids);
    //
    // /**
    //  * 删除员工交接班记录信息
    //  *
    //  * @param id 员工交接班记录主键
    //  * @return 结果
    //  */
    // public int deleteSlkjShiftManagementById(Long id);
}
